package com.tpc.dao.core;

import com.google.gwt.user.client.rpc.IsSerializable;
import java.util.Date;

public class Task extends TPC_OBJECT implements IsSerializable {
    
    private String title;
    private String description;
    private String last_modification;
    private int completed = 0;
    private int isBillable = 0;
    private Date last_modificationDATE;
    private String sla_date;
    private Tag Status;
    private Tag Priority;
    private Tag departement;
    private Tag invoicingType;
    private String statusName;
    private Organisation organisation;
    private String opened;
    private String waiting;
    private String thisMonth;
    private String totalpermonth;
    private Date slaDate;
    private Date dateDebut;
    private com.tpc.dao.extend.Contact contact;
    private com.tpc.dao.extend.Organisation client;
    
    public Task() {
        
    }
    
    public void setClient(int param,String param2) {
        client = new com.tpc.dao.extend.Organisation();
        client.setId(param);
        client.setName(param2);
    }
    public Organisation getClient() {
        return client;
    }
    
    public void setSLAdate(Date param) {
        slaDate = param;
    }
    public Date getSLAdate() {
        return slaDate;
    }
    
    public void setSLAdateAsString(String param) {
        sla_date = param;
    }
    public String getSLAdateAsString() {
        return sla_date;
    }
    
    public void setDateDebut(Date param) {
        dateDebut = param;
    }
    public Date getDateDebut() {
        return dateDebut;
    }
    
    public void setInvoicingType(int param,String param2) {
        invoicingType = new Tag();
        invoicingType.setId(param);
        invoicingType.setName(param2);
    }
    public Tag getInvoicingType() {
        return invoicingType;
    }
    
    public void setIsBillable(int param) {
        isBillable = param;
    }
    public int isBillable() {
        return isBillable;
    }
    
    public void setContact(int param,String param2,String param3) {
        contact = new com.tpc.dao.extend.Contact();
        contact.setId(param);
        contact.setFirstName(param2);
        contact.setLastName(param3);
    }
    public Contact getContact() {
        return contact;
    }
    
    public void setDepartement(int param,String param2) {
        departement = new Tag();
        departement.setId(param);
        departement.setName(param2);
    }
    public Tag getDepartement() {
        return departement;
    }
    
    public void setOpened(String param) {
        opened = param;
    }
    public String getOpened() {
        return opened;
    }
    
    public void setCompleted(int param) {
        completed = param;
    }
    public int getCompleted() {
        return completed;
    }
    
    public void setStatus(int param,String param2) {
        Status = new Tag();
        Status.setId(param);
        Status.setName(param2);
    }
    public Tag getStatus() {
        return Status;
    }
    
    public void setPriority(int param,String param2) {
        Priority = new Tag();
        Priority.setId(param);
        Priority.setName(param2);
    }
    public Tag getPriority() {
        return Priority;
    }
    
    public void setWaiting(String param) {
        waiting = param;
    }
    public String getWaiting() {
        return waiting;
    }
    
    public void setThisMonthUsed(String param) {
        thisMonth = param;
    }
    public String getThisMonthUsed() {
        return thisMonth;
    }
    
    public void setTotalPerMonth(String param) {
        totalpermonth = param;
    }
    public String getTotalPerMonth() {
        return totalpermonth;
    }
    
    public void setTitle(String param) {
        title = param;
    }
    public String getTitle() {
        return title;
    }
    
    public void setDescription(String param) {
        description = param;
    }
    public String getDescription() {
        return description;
    }
    
    public void setOrganisation(int param,String param2) {
        organisation = new com.tpc.dao.extend.Organisation();
        organisation.setId(param);
        organisation.setName(param2);
    }
    public Organisation getOrganisation() {
        return organisation;
    }
        
    public void setLastModifiedDate(Date param) {
        last_modificationDATE = param;
    }
    public Date getLastModifiedDate() {
        return last_modificationDATE;
    }            
            
    public void setLastModified(String param) {
        last_modification = param;
    }
    public String getLastModified() {
        return last_modification;
    }
    
    public void setStatusName(String param) {
        statusName = param;
    }
    public String getStatusName() {
        return statusName;
    }
}
